//
//  UIButton+utils.m
//  storeapp
//
//  Created by huangyi on 13-5-13.
//  Copyright (c) 2013年 ios. All rights reserved.
//

#import "UIButton+utils.h"

@implementation UIButton (utils)

-(void)setTitleColor:(UIColor *)color{
    [self setTitleColor:color forState:UIControlStateNormal];
}
-(void)setTitle:(NSString *)title{
    [self setTitle:title forState:UIControlStateNormal];
}
-(void)addTarget:(id)target action:(SEL)action{
    //self.showsTouchWhenHighlighted=YES;
    [self addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
}

@end
